home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Programming / gcc-2.95.3-3 / info / g77.info-17 < prev    next >
Encoding:
GNU Info File  |  2001-07-15  |  49.3 KB  |  1,122 lines

  1. This is Info file f/g77.info, produced by Makeinfo version 1.68 from
  2. the input file ./f/g77.texi.
  3.  
  4. INFO-DIR-SECTION Programming
  5. START-INFO-DIR-ENTRY
  6. * g77: (g77).                  The GNU Fortran compiler.
  7. END-INFO-DIR-ENTRY
  8.    This file documents the use and the internals of the GNU Fortran
  9. (`g77') compiler.  It corresponds to the GCC-2.95 version of `g77'.
  10.  
  11.    Published by the Free Software Foundation 59 Temple Place - Suite 330
  12. Boston, MA 02111-1307 USA
  13.  
  14.    Copyright (C) 1995-1999 Free Software Foundation, Inc.
  15.  
  16.    Permission is granted to make and distribute verbatim copies of this
  17. manual provided the copyright notice and this permission notice are
  18. preserved on all copies.
  19.  
  20.    Permission is granted to copy and distribute modified versions of
  21. this manual under the conditions for verbatim copying, provided also
  22. that the sections entitled "GNU General Public License," "Funding for
  23. Free Software," and "Protect Your Freedom--Fight `Look And Feel'" are
  24. included exactly as in the original, and provided that the entire
  25. resulting derived work is distributed under the terms of a permission
  26. notice identical to this one.
  27.  
  28.    Permission is granted to copy and distribute translations of this
  29. manual into another language, under the above conditions for modified
  30. versions, except that the sections entitled "GNU General Public
  31. License," "Funding for Free Software," and "Protect Your Freedom--Fight
  32. `Look And Feel'", and this permission notice, may be included in
  33. translations approved by the Free Software Foundation instead of in the
  34. original English.
  35.  
  36.    Contributed by James Craig Burley (<craig@jcb-sc.com>).  Inspired by
  37. a first pass at translating `g77-0.5.16/f/DOC' that was contributed to
  38. Craig by David Ronis (<ronis@onsager.chem.mcgill.ca>).
  39.  
  40. 
  41. File: g77.info,  Node: Multiple Definitions of External Names,  Next: Limitation on Implicit Declarations,  Prev: Mangling of Names,  Up: Disappointments
  42.  
  43. Multiple Definitions of External Names
  44. --------------------------------------
  45.  
  46.    `g77' doesn't allow a common block and an external procedure or
  47. `BLOCK DATA' to have the same name.  Some systems allow this, but `g77'
  48. does not, to be compatible with `f2c'.
  49.  
  50.    `g77' could special-case the way it handles `BLOCK DATA', since it
  51. is not compatible with `f2c' in this particular area (necessarily,
  52. since `g77' offers an important feature here), but it is likely that
  53. such special-casing would be very annoying to people with programs that
  54. use `EXTERNAL FOO', with no other mention of `FOO' in the same program
  55. unit, to refer to external procedures, since the result would be that
  56. `g77' would treat these references as requests to force-load BLOCK DATA
  57. program units.
  58.  
  59.    In that case, if `g77' modified names of `BLOCK DATA' so they could
  60. have the same names as `COMMON', users would find that their programs
  61. wouldn't link because the `FOO' procedure didn't have its name
  62. translated the same way.
  63.  
  64.    (Strictly speaking, `g77' could emit a
  65. null-but-externally-satisfying definition of `FOO' with its name
  66. transformed as if it had been a `BLOCK DATA', but that probably invites
  67. more trouble than it's worth.)
  68.  
  69. 
  70. File: g77.info,  Node: Limitation on Implicit Declarations,  Prev: Multiple Definitions of External Names,  Up: Disappointments
  71.  
  72. Limitation on Implicit Declarations
  73. -----------------------------------
  74.  
  75.    `g77' disallows `IMPLICIT CHARACTER*(*)'.  This is not
  76. standard-conforming.
  77.  
  78. 
  79. File: g77.info,  Node: Non-bugs,  Next: Warnings and Errors,  Prev: Disappointments,  Up: Trouble
  80.  
  81. Certain Changes We Don't Want to Make
  82. =====================================
  83.  
  84.    This section lists changes that people frequently request, but which
  85. we do not make because we think GNU Fortran is better without them.
  86.  
  87. * Menu:
  88.  
  89. * Backslash in Constants::           Why `'\\'' is a constant that
  90.                                        is one, not two, characters long.
  91. * Initializing Before Specifying::   Why `DATA VAR/1/' can't precede
  92.                                        `COMMON VAR'.
  93. * Context-Sensitive Intrinsicness::  Why `CALL SQRT' won't work.
  94. * Context-Sensitive Constants::      Why `9.435784839284958' is a
  95.                                        single-precision constant,
  96.                                        and might be interpreted as
  97.                                        `9.435785' or similar.
  98. * Equivalence Versus Equality::      Why `.TRUE. .EQ. .TRUE.' won't work.
  99. * Order of Side Effects::            Why `J = IFUNC() - IFUNC()' might
  100.                                        not behave as expected.
  101.  
  102. 
  103. File: g77.info,  Node: Backslash in Constants,  Next: Initializing Before Specifying,  Up: Non-bugs
  104.  
  105. Backslash in Constants
  106. ----------------------
  107.  
  108.    In the opinion of many experienced Fortran users, `-fno-backslash'
  109. should be the default, not `-fbackslash', as currently set by `g77'.
  110.  
  111.    First of all, you can always specify `-fno-backslash' to turn off
  112. this processing.
  113.  
  114.    Despite not being within the spirit (though apparently within the
  115. letter) of the ANSI FORTRAN 77 standard, `g77' defaults to
  116. `-fbackslash' because that is what most UNIX `f77' commands default to,
  117. and apparently lots of code depends on this feature.
  118.  
  119.    This is a particularly troubling issue.  The use of a C construct in
  120. the midst of Fortran code is bad enough, worse when it makes existing
  121. Fortran programs stop working (as happens when programs written for
  122. non-UNIX systems are ported to UNIX systems with compilers that provide
  123. the `-fbackslash' feature as the default--sometimes with no option to
  124. turn it off).
  125.  
  126.    The author of GNU Fortran wished, for reasons of linguistic purity,
  127. to make `-fno-backslash' the default for GNU Fortran and thus require
  128. users of UNIX `f77' and `f2c' to specify `-fbackslash' to get the UNIX
  129. behavior.
  130.  
  131.    However, the realization that `g77' is intended as a replacement for
  132. *UNIX* `f77', caused the author to choose to make `g77' as compatible
  133. with `f77' as feasible, which meant making `-fbackslash' the default.
  134.  
  135.    The primary focus on compatibility is at the source-code level, and
  136. the question became "What will users expect a replacement for `f77' to
  137. do, by default?"  Although at least one UNIX `f77' does not provide
  138. `-fbackslash' as a default, it appears that the majority of them do,
  139. which suggests that the majority of code that is compiled by UNIX `f77'
  140. compilers expects `-fbackslash' to be the default.
  141.  
  142.    It is probably the case that more code exists that would *not* work
  143. with `-fbackslash' in force than code that requires it be in force.
  144.  
  145.    However, most of *that* code is not being compiled with `f77', and
  146. when it is, new build procedures (shell scripts, makefiles, and so on)
  147. must be set up anyway so that they work under UNIX.  That makes a much
  148. more natural and safe opportunity for non-UNIX users to adapt their
  149. build procedures for `g77''s default of `-fbackslash' than would exist
  150. for the majority of UNIX `f77' users who would have to modify existing,
  151. working build procedures to explicitly specify `-fbackslash' if that was
  152. not the default.
  153.  
  154.    One suggestion has been to configure the default for `-fbackslash'
  155. (and perhaps other options as well) based on the configuration of `g77'.
  156.  
  157.    This is technically quite straightforward, but will be avoided even
  158. in cases where not configuring defaults to be dependent on a particular
  159. configuration greatly inconveniences some users of legacy code.
  160.  
  161.    Many users appreciate the GNU compilers because they provide an
  162. environment that is uniform across machines.  These users would be
  163. inconvenienced if the compiler treated things like the format of the
  164. source code differently on certain machines.
  165.  
  166.    Occasionally users write programs intended only for a particular
  167. machine type.  On these occasions, the users would benefit if the GNU
  168. Fortran compiler were to support by default the same dialect as the
  169. other compilers on that machine.  But such applications are rare.  And
  170. users writing a program to run on more than one type of machine cannot
  171. possibly benefit from this kind of compatibility.  (This is consistent
  172. with the design goals for `gcc'.  To change them for `g77', you must
  173. first change them for `gcc'.  Do not ask the maintainers of `g77' to do
  174. this for you, or to disassociate `g77' from the widely understood, if
  175. not widely agreed-upon, goals for GNU compilers in general.)
  176.  
  177.    This is why GNU Fortran does and will treat backslashes in the same
  178. fashion on all types of machines (by default).  *Note Direction of
  179. Language Development::, for more information on this overall philosophy
  180. guiding the development of the GNU Fortran language.
  181.  
  182.    Of course, users strongly concerned about portability should indicate
  183. explicitly in their build procedures which options are expected by
  184. their source code, or write source code that has as few such
  185. expectations as possible.
  186.  
  187.    For example, avoid writing code that depends on backslash (`\')
  188. being interpreted either way in particular, such as by starting a
  189. program unit with:
  190.  
  191.      CHARACTER BACKSL
  192.      PARAMETER (BACKSL = '\\')
  193.  
  194. Then, use concatenation of `BACKSL' anyplace a backslash is desired.
  195. In this way, users can write programs which have the same meaning in
  196. many Fortran dialects.
  197.  
  198.    (However, this technique does not work for Hollerith constants--which
  199. is just as well, since the only generally portable uses for Hollerith
  200. constants are in places where character constants can and should be
  201. used instead, for readability.)
  202.  
  203. 
  204. File: g77.info,  Node: Initializing Before Specifying,  Next: Context-Sensitive Intrinsicness,  Prev: Backslash in Constants,  Up: Non-bugs
  205.  
  206. Initializing Before Specifying
  207. ------------------------------
  208.  
  209.    `g77' does not allow `DATA VAR/1/' to appear in the source code
  210. before `COMMON VAR', `DIMENSION VAR(10)', `INTEGER VAR', and so on.  In
  211. general, `g77' requires initialization of a variable or array to be
  212. specified *after* all other specifications of attributes (type, size,
  213. placement, and so on) of that variable or array are specified (though
  214. *confirmation* of data type is permitted).
  215.  
  216.    It is *possible* `g77' will someday allow all of this, even though
  217. it is not allowed by the FORTRAN 77 standard.
  218.  
  219.    Then again, maybe it is better to have `g77' always require
  220. placement of `DATA' so that it can possibly immediately write constants
  221. to the output file, thus saving time and space.
  222.  
  223.    That is, `DATA A/1000000*1/' should perhaps always be immediately
  224. writable to canonical assembler, unless it's already known to be in a
  225. `COMMON' area following as-yet-uninitialized stuff, and to do this it
  226. cannot be followed by `COMMON A'.
  227.  
  228. 
  229. File: g77.info,  Node: Context-Sensitive Intrinsicness,  Next: Context-Sensitive Constants,  Prev: Initializing Before Specifying,  Up: Non-bugs
  230.  
  231. Context-Sensitive Intrinsicness
  232. -------------------------------
  233.  
  234.    `g77' treats procedure references to *possible* intrinsic names as
  235. always enabling their intrinsic nature, regardless of whether the
  236. *form* of the reference is valid for that intrinsic.
  237.  
  238.    For example, `CALL SQRT' is interpreted by `g77' as an invalid
  239. reference to the `SQRT' intrinsic function, because the reference is a
  240. subroutine invocation.
  241.  
  242.    First, `g77' recognizes the statement `CALL SQRT' as a reference to
  243. a *procedure* named `SQRT', not to a *variable* with that name (as it
  244. would for a statement such as `V = SQRT').
  245.  
  246.    Next, `g77' establishes that, in the program unit being compiled,
  247. `SQRT' is an intrinsic--not a subroutine that happens to have the same
  248. name as an intrinsic (as would be the case if, for example, `EXTERNAL
  249. SQRT' was present).
  250.  
  251.    Finally, `g77' recognizes that the *form* of the reference is
  252. invalid for that particular intrinsic.  That is, it recognizes that it
  253. is invalid for an intrinsic *function*, such as `SQRT', to be invoked as
  254. a *subroutine*.
  255.  
  256.    At that point, `g77' issues a diagnostic.
  257.  
  258.    Some users claim that it is "obvious" that `CALL SQRT' references an
  259. external subroutine of their own, not an intrinsic function.
  260.  
  261.    However, `g77' knows about intrinsic subroutines, not just
  262. functions, and is able to support both having the same names, for
  263. example.
  264.  
  265.    As a result of this, `g77' rejects calls to intrinsics that are not
  266. subroutines, and function invocations of intrinsics that are not
  267. functions, just as it (and most compilers) rejects invocations of
  268. intrinsics with the wrong number (or types) of arguments.
  269.  
  270.    So, use the `EXTERNAL SQRT' statement in a program unit that calls a
  271. user-written subroutine named `SQRT'.
  272.  
  273. 
  274. File: g77.info,  Node: Context-Sensitive Constants,  Next: Equivalence Versus Equality,  Prev: Context-Sensitive Intrinsicness,  Up: Non-bugs
  275.  
  276. Context-Sensitive Constants
  277. ---------------------------
  278.  
  279.    `g77' does not use context to determine the types of constants or
  280. named constants (`PARAMETER'), except for (non-standard) typeless
  281. constants such as `'123'O'.
  282.  
  283.    For example, consider the following statement:
  284.  
  285.      PRINT *, 9.435784839284958 * 2D0
  286.  
  287. `g77' will interpret the (truncated) constant `9.435784839284958' as a
  288. `REAL(KIND=1)', not `REAL(KIND=2)', constant, because the suffix `D0'
  289. is not specified.
  290.  
  291.    As a result, the output of the above statement when compiled by
  292. `g77' will appear to have "less precision" than when compiled by other
  293. compilers.
  294.  
  295.    In these and other cases, some compilers detect the fact that a
  296. single-precision constant is used in a double-precision context and
  297. therefore interpret the single-precision constant as if it was
  298. *explicitly* specified as a double-precision constant.  (This has the
  299. effect of appending *decimal*, not *binary*, zeros to the fractional
  300. part of the number--producing different computational results.)
  301.  
  302.    The reason this misfeature is dangerous is that a slight, apparently
  303. innocuous change to the source code can change the computational
  304. results.  Consider:
  305.  
  306.      REAL ALMOST, CLOSE
  307.      DOUBLE PRECISION FIVE
  308.      PARAMETER (ALMOST = 5.000000000001)
  309.      FIVE = 5
  310.      CLOSE = 5.000000000001
  311.      PRINT *, 5.000000000001 - FIVE
  312.      PRINT *, ALMOST - FIVE
  313.      PRINT *, CLOSE - FIVE
  314.      END
  315.  
  316. Running the above program should result in the same value being printed
  317. three times.  With `g77' as the compiler, it does.
  318.  
  319.    However, compiled by many other compilers, running the above program
  320. would print two or three distinct values, because in two or three of
  321. the statements, the constant `5.000000000001', which on most systems is
  322. exactly equal to `5.'  when interpreted as a single-precision constant,
  323. is instead interpreted as a double-precision constant, preserving the
  324. represented precision.  However, this "clever" promotion of type does
  325. not extend to variables or, in some compilers, to named constants.
  326.  
  327.    Since programmers often are encouraged to replace manifest constants
  328. or permanently-assigned variables with named constants (`PARAMETER' in
  329. Fortran), and might need to replace some constants with variables
  330. having the same values for pertinent portions of code, it is important
  331. that compilers treat code so modified in the same way so that the
  332. results of such programs are the same.  `g77' helps in this regard by
  333. treating constants just the same as variables in terms of determining
  334. their types in a context-independent way.
  335.  
  336.    Still, there is a lot of existing Fortran code that has been written
  337. to depend on the way other compilers freely interpret constants' types
  338. based on context, so anything `g77' can do to help flag cases of this
  339. in such code could be very helpful.
  340.  
  341. 
  342. File: g77.info,  Node: Equivalence Versus Equality,  Next: Order of Side Effects,  Prev: Context-Sensitive Constants,  Up: Non-bugs
  343.  
  344. Equivalence Versus Equality
  345. ---------------------------
  346.  
  347.    Use of `.EQ.' and `.NE.' on `LOGICAL' operands is not supported,
  348. except via `-fugly-logint', which is not recommended except for legacy
  349. code (where the behavior expected by the *code* is assumed).
  350.  
  351.    Legacy code should be changed, as resources permit, to use `.EQV.'
  352. and `.NEQV.' instead, as these are permitted by the various Fortran
  353. standards.
  354.  
  355.    New code should never be written expecting `.EQ.' or `.NE.'  to work
  356. if either of its operands is `LOGICAL'.
  357.  
  358.    The problem with supporting this "feature" is that there is unlikely
  359. to be consensus on how it works, as illustrated by the following sample
  360. program:
  361.  
  362.      LOGICAL L,M,N
  363.      DATA L,M,N /3*.FALSE./
  364.      IF (L.AND.M.EQ.N) PRINT *,'L.AND.M.EQ.N'
  365.      END
  366.  
  367.    The issue raised by the above sample program is: what is the
  368. precedence of `.EQ.' (and `.NE.') when applied to `LOGICAL' operands?
  369.  
  370.    Some programmers will argue that it is the same as the precedence
  371. for `.EQ.' when applied to numeric (such as `INTEGER') operands.  By
  372. this interpretation, the subexpression `M.EQ.N' must be evaluated first
  373. in the above program, resulting in a program that, when run, does not
  374. execute the `PRINT' statement.
  375.  
  376.    Other programmers will argue that the precedence is the same as the
  377. precedence for `.EQV.', which is restricted by the standards to
  378. `LOGICAL' operands.  By this interpretation, the subexpression
  379. `L.AND.M' must be evaluated first, resulting in a program that *does*
  380. execute the `PRINT' statement.
  381.  
  382.    Assigning arbitrary semantic interpretations to syntactic expressions
  383. that might legitimately have more than one "obvious" interpretation is
  384. generally unwise.
  385.  
  386.    The creators of the various Fortran standards have done a good job
  387. in this case, requiring a distinct set of operators (which have their
  388. own distinct precedence) to compare `LOGICAL' operands.  This
  389. requirement results in expression syntax with more certain precedence
  390. (without requiring substantial context), making it easier for
  391. programmers to read existing code.  `g77' will avoid muddying up
  392. elements of the Fortran language that were well-designed in the first
  393. place.
  394.  
  395.    (Ask C programmers about the precedence of expressions such as `(a)
  396. & (b)' and `(a) - (b)'--they cannot even tell you, without knowing more
  397. context, whether the `&' and `-' operators are infix (binary) or unary!)
  398.  
  399.    Most dangerous of all is the fact that, even assuming consensus on
  400. its meaning, an expression like `L.AND.M.EQ.N', if it is the result of
  401. a typographical error, doesn't *look* like it has such a typo.  Even
  402. experienced Fortran programmers would not likely notice that
  403. `L.AND.M.EQV.N' was, in fact, intended.
  404.  
  405.    So, this is a prime example of a circumstance in which a quality
  406. compiler diagnoses the code, instead of leaving it up to someone
  407. debugging it to know to turn on special compiler options that might
  408. diagnose it.
  409.  
  410. 
  411. File: g77.info,  Node: Order of Side Effects,  Prev: Equivalence Versus Equality,  Up: Non-bugs
  412.  
  413. Order of Side Effects
  414. ---------------------
  415.  
  416.    `g77' does not necessarily produce code that, when run, performs
  417. side effects (such as those performed by function invocations) in the
  418. same order as in some other compiler--or even in the same order as
  419. another version, port, or invocation (using different command-line
  420. options) of `g77'.
  421.  
  422.    It is never safe to depend on the order of evaluation of side
  423. effects.  For example, an expression like this may very well behave
  424. differently from one compiler to another:
  425.  
  426.      J = IFUNC() - IFUNC()
  427.  
  428. There is no guarantee that `IFUNC' will be evaluated in any particular
  429. order.  Either invocation might happen first.  If `IFUNC' returns 5 the
  430. first time it is invoked, and returns 12 the second time, `J' might end
  431. up with the value `7', or it might end up with `-7'.
  432.  
  433.    Generally, in Fortran, procedures with side-effects intended to be
  434. visible to the caller are best designed as *subroutines*, not functions.
  435. Examples of such side-effects include:
  436.  
  437.    * The generation of random numbers that are intended to influence
  438.      return values.
  439.  
  440.    * Performing I/O (other than internal I/O to local variables).
  441.  
  442.    * Updating information in common blocks.
  443.  
  444.    An example of a side-effect that is not intended to be visible to
  445. the caller is a function that maintains a cache of recently calculated
  446. results, intended solely to speed repeated invocations of the function
  447. with identical arguments.  Such a function can be safely used in
  448. expressions, because if the compiler optimizes away one or more calls
  449. to the function, operation of the program is unaffected (aside from
  450. being speeded up).
  451.  
  452. 
  453. File: g77.info,  Node: Warnings and Errors,  Prev: Non-bugs,  Up: Trouble
  454.  
  455. Warning Messages and Error Messages
  456. ===================================
  457.  
  458.    The GNU compiler can produce two kinds of diagnostics: errors and
  459. warnings.  Each kind has a different purpose:
  460.  
  461.      *Errors* report problems that make it impossible to compile your
  462.      program.  GNU Fortran reports errors with the source file name,
  463.      line number, and column within the line where the problem is
  464.      apparent.
  465.  
  466.      *Warnings* report other unusual conditions in your code that
  467.      *might* indicate a problem, although compilation can (and does)
  468.      proceed.  Warning messages also report the source file name, line
  469.      number, and column information, but include the text `warning:' to
  470.      distinguish them from error messages.
  471.  
  472.    Warnings might indicate danger points where you should check to make
  473. sure that your program really does what you intend; or the use of
  474. obsolete features; or the use of nonstandard features of GNU Fortran.
  475. Many warnings are issued only if you ask for them, with one of the `-W'
  476. options (for instance, `-Wall' requests a variety of useful warnings).
  477.  
  478.    *Note:* Currently, the text of the line and a pointer to the column
  479. is printed in most `g77' diagnostics.  Probably, as of version 0.6,
  480. `g77' will no longer print the text of the source line, instead printing
  481. the column number following the file name and line number in a form
  482. that GNU Emacs recognizes.  This change is expected to speed up and
  483. reduce the memory usage of the `g77' compiler.
  484.  
  485.    *Note Options to Request or Suppress Warnings: Warning Options, for
  486. more detail on these and related command-line options.
  487.  
  488. 
  489. File: g77.info,  Node: Open Questions,  Next: Bugs,  Prev: Trouble,  Up: Top
  490.  
  491. Open Questions
  492. **************
  493.  
  494.    Please consider offering useful answers to these questions!
  495.  
  496.    * `LOC()' and other intrinsics are probably somewhat misclassified.
  497.      Is the a need for more precise classification of intrinsics, and
  498.      if so, what are the appropriate groupings?  Is there a need to
  499.      individually enable/disable/delete/hide intrinsics from the
  500.      command line?
  501.  
  502. 
  503. File: g77.info,  Node: Bugs,  Next: Service,  Prev: Open Questions,  Up: Top
  504.  
  505. Reporting Bugs
  506. **************
  507.  
  508.    Your bug reports play an essential role in making GNU Fortran
  509. reliable.
  510.  
  511.    When you encounter a problem, the first thing to do is to see if it
  512. is already known.  *Note Trouble::.  If it isn't known, then you should
  513. report the problem.
  514.  
  515.    Reporting a bug might help you by bringing a solution to your
  516. problem, or it might not.  (If it does not, look in the service
  517. directory; see *Note Service::..)  In any case, the principal function
  518. of a bug report is to help the entire community by making the next
  519. version of GNU Fortran work better.  Bug reports are your contribution
  520. to the maintenance of GNU Fortran.
  521.  
  522.    Since the maintainers are very overloaded, we cannot respond to every
  523. bug report.  However, if the bug has not been fixed, we are likely to
  524. send you a patch and ask you to tell us whether it works.
  525.  
  526.    In order for a bug report to serve its purpose, you must include the
  527. information that makes for fixing the bug.
  528.  
  529. * Menu:
  530.  
  531. * Criteria: Bug Criteria.    Have you really found a bug?
  532. * Where: Bug Lists.          Where to send your bug report.
  533. * Reporting: Bug Reporting.  How to report a bug effectively.
  534. * Patches: Sending Patches.  How to send a patch for GNU Fortran.
  535.  
  536.    *Note Known Causes of Trouble with GNU Fortran: Trouble, for
  537. information on problems we already know about.
  538.  
  539.    *Note How To Get Help with GNU Fortran: Service, for information on
  540. where to ask for help.
  541.  
  542. 
  543. File: g77.info,  Node: Bug Criteria,  Next: Bug Lists,  Up: Bugs
  544.  
  545. Have You Found a Bug?
  546. =====================
  547.  
  548.    If you are not sure whether you have found a bug, here are some
  549. guidelines:
  550.  
  551.    * If the compiler gets a fatal signal, for any input whatever, that
  552.      is a compiler bug.  Reliable compilers never crash--they just
  553.      remain obsolete.
  554.  
  555.    * If the compiler produces invalid assembly code, for any input
  556.      whatever, that is a compiler bug, unless the compiler reports
  557.      errors (not just warnings) which would ordinarily prevent the
  558.      assembler from being run.
  559.  
  560.    * If the compiler produces valid assembly code that does not
  561.      correctly execute the input source code, that is a compiler bug.
  562.  
  563.      However, you must double-check to make sure, because you might
  564.      have run into an incompatibility between GNU Fortran and
  565.      traditional Fortran.  These incompatibilities might be considered
  566.      bugs, but they are inescapable consequences of valuable features.
  567.  
  568.      Or you might have a program whose behavior is undefined, which
  569.      happened by chance to give the desired results with another
  570.      Fortran compiler.  It is best to check the relevant Fortran
  571.      standard thoroughly if it is possible that the program indeed does
  572.      something undefined.
  573.  
  574.      After you have localized the error to a single source line, it
  575.      should be easy to check for these things.  If your program is
  576.      correct and well defined, you have found a compiler bug.
  577.  
  578.      It might help if, in your submission, you identified the specific
  579.      language in the relevant Fortran standard that specifies the
  580.      desired behavior, if it isn't likely to be obvious and agreed-upon
  581.      by all Fortran users.
  582.  
  583.    * If the compiler produces an error message for valid input, that is
  584.      a compiler bug.
  585.  
  586.    * If the compiler does not produce an error message for invalid
  587.      input, that is a compiler bug.  However, you should note that your
  588.      idea of "invalid input" might be someone else's idea of "an
  589.      extension" or "support for traditional practice".
  590.  
  591.    * If you are an experienced user of Fortran compilers, your
  592.      suggestions for improvement of GNU Fortran are welcome in any case.
  593.  
  594.    Many, perhaps most, bug reports against `g77' turn out to be bugs in
  595. the user's code.  While we find such bug reports educational, they
  596. sometimes take a considerable amount of time to track down or at least
  597. respond to--time we could be spending making `g77', not some user's
  598. code, better.
  599.  
  600.    Some steps you can take to verify that the bug is not certainly in
  601. the code you're compiling with `g77':
  602.  
  603.    * Compile your code using the `g77' options `-W -Wall -O'.  These
  604.      options enable many useful warning; the `-O' option enables flow
  605.      analysis that enables the uninitialized-variable warning.
  606.  
  607.      If you investigate the warnings and find evidence of possible bugs
  608.      in your code, fix them first and retry `g77'.
  609.  
  610.    * Compile your code using the `g77' options `-finit-local-zero',
  611.      `-fno-automatic', `-ffloat-store', and various combinations
  612.      thereof.
  613.  
  614.      If your code works with any of these combinations, that is not
  615.      proof that the bug isn't in `g77'--a `g77' bug exposed by your
  616.      code might simply be avoided, or have a different, more subtle
  617.      effect, when different options are used--but it can be a strong
  618.      indicator that your code is making unwarranted assumptions about
  619.      the Fortran dialect and/or underlying machine it is being compiled
  620.      and run on.
  621.  
  622.      *Note Overly Convenient Command-Line Options: Overly Convenient
  623.      Options, for information on the `-fno-automatic' and
  624.      `-finit-local-zero' options and how to convert their use into
  625.      selective changes in your own code.
  626.  
  627.    * Validate your code with `ftnchek' or a similar code-checking tool.
  628.      `ftnchek' can be found at `ftp://ftp.netlib.org/fortran' or
  629.      `ftp://ftp.dsm.fordham.edu'.
  630.  
  631.      Here are some sample `Makefile' rules using `ftnchek' "project"
  632.      files to do cross-file checking and `sfmakedepend' (from
  633.      `ftp://ahab.rutgers.edu/pub/perl/sfmakedepend') to maintain
  634.      dependencies automatically.  These assume the use of GNU `make'.
  635.  
  636.           # Dummy suffix for ftnchek targets:
  637.           .SUFFIXES: .chek
  638.           .PHONY: chekall
  639.           
  640.           # How to compile .f files (for implicit rule):
  641.           FC = g77
  642.           # Assume `include' directory:
  643.           FFLAGS = -Iinclude -g -O -Wall
  644.           
  645.           # Flags for ftnchek:
  646.           CHEK1 = -array=0 -include=includes -noarray
  647.           CHEK2 = -nonovice -usage=1 -notruncation
  648.           CHEKFLAGS = $(CHEK1) $(CHEK2)
  649.           
  650.           # Run ftnchek with all the .prj files except the one corresponding
  651.           # to the target's root:
  652.           %.chek : %.f ; \
  653.             ftnchek $(filter-out $*.prj,$(PRJS)) $(CHEKFLAGS) \
  654.               -noextern -library $<
  655.           
  656.           # Derive a project file from a source file:
  657.           %.prj : %.f ; \
  658.             ftnchek $(CHEKFLAGS) -noextern -project -library $<
  659.           
  660.           # The list of objects is assumed to be in variable OBJS.
  661.           # Sources corresponding to the objects:
  662.           SRCS = $(OBJS:%.o=%.f)
  663.           # ftnchek project files:
  664.           PRJS = $(OBJS:%.o=%.prj)
  665.           
  666.           # Build the program
  667.           prog: $(OBJS) ; \
  668.             $(FC) -o $ $(OBJS)
  669.           
  670.           chekall: $(PRJS) ; \
  671.             ftnchek $(CHEKFLAGS) $(PRJS)
  672.           
  673.           prjs: $(PRJS)
  674.           
  675.           # For Emacs M-x find-tag:
  676.           TAGS: $(SRCS) ; \
  677.             etags $(SRCS)
  678.           
  679.           # Rebuild dependencies:
  680.           depend: ; \
  681.             sfmakedepend -I $(PLTLIBDIR) -I includes -a prj $(SRCS1)
  682.  
  683.    * Try your code out using other Fortran compilers, such as `f2c'.
  684.      If it does not work on at least one other compiler (assuming the
  685.      compiler supports the features the code needs), that is a strong
  686.      indicator of a bug in the code.
  687.  
  688.      However, even if your code works on many compilers *except* `g77',
  689.      that does *not* mean the bug is in `g77'.  It might mean the bug
  690.      is in your code, and that `g77' simply exposes it more readily
  691.      than other compilers.
  692.  
  693. 
  694. File: g77.info,  Node: Bug Lists,  Next: Bug Reporting,  Prev: Bug Criteria,  Up: Bugs
  695.  
  696. Where to Report Bugs
  697. ====================
  698.  
  699.    Send bug reports for GNU Fortran to <gcc-bugs@gcc.gnu.org or bug-gcc@gnu.org>.
  700.  
  701.    Often people think of posting bug reports to a newsgroup instead of
  702. mailing them.  This sometimes appears to work, but it has one problem
  703. which can be crucial: a newsgroup posting does not contain a mail path
  704. back to the sender.  Thus, if maintainers need more information, they
  705. might be unable to reach you.  For this reason, you should always send
  706. bug reports by mail to the proper mailing list.
  707.  
  708.    As a last resort, send bug reports on paper to:
  709.  
  710.      GNU Compiler Bugs
  711.      Free Software Foundation
  712.      59 Temple Place - Suite 330
  713.      Boston, MA 02111-1307, USA
  714.  
  715. 
  716. File: g77.info,  Node: Bug Reporting,  Next: Sending Patches,  Prev: Bug Lists,  Up: Bugs
  717.  
  718. How to Report Bugs
  719. ==================
  720.  
  721.    The fundamental principle of reporting bugs usefully is this:
  722. *report all the facts*.  If you are not sure whether to state a fact or
  723. leave it out, state it!
  724.  
  725.    Often people omit facts because they think they know what causes the
  726. problem and they conclude that some details don't matter.  Thus, you
  727. might assume that the name of the variable you use in an example does
  728. not matter.  Well, probably it doesn't, but one cannot be sure.
  729. Perhaps the bug is a stray memory reference which happens to fetch from
  730. the location where that name is stored in memory; perhaps, if the name
  731. were different, the contents of that location would fool the compiler
  732. into doing the right thing despite the bug.  Play it safe and give a
  733. specific, complete example.  That is the easiest thing for you to do,
  734. and the most helpful.
  735.  
  736.    Keep in mind that the purpose of a bug report is to enable someone to
  737. fix the bug if it is not known.  It isn't very important what happens if
  738. the bug is already known.  Therefore, always write your bug reports on
  739. the assumption that the bug is not known.
  740.  
  741.    Sometimes people give a few sketchy facts and ask, "Does this ring a
  742. bell?"  This cannot help us fix a bug, so it is rarely helpful.  We
  743. respond by asking for enough details to enable us to investigate.  You
  744. might as well expedite matters by sending them to begin with.
  745. (Besides, there are enough bells ringing around here as it is.)
  746.  
  747.    Try to make your bug report self-contained.  If we have to ask you
  748. for more information, it is best if you include all the previous
  749. information in your response, as well as the information that was
  750. missing.
  751.  
  752.    Please report each bug in a separate message.  This makes it easier
  753. for us to track which bugs have been fixed and to forward your bugs
  754. reports to the appropriate maintainer.
  755.  
  756.    Do not compress and encode any part of your bug report using programs
  757. such as `uuencode'.  If you do so it will slow down the processing of
  758. your bug.  If you must submit multiple large files, use `shar', which
  759. allows us to read your message without having to run any decompression
  760. programs.
  761.  
  762.    (As a special exception for GNU Fortran bug-reporting, at least for
  763. now, if you are sending more than a few lines of code, if your
  764. program's source file format contains "interesting" things like
  765. trailing spaces or strange characters, or if you need to include binary
  766. data files, it is acceptable to put all the files together in a `tar'
  767. archive, and, whether you need to do that, it is acceptable to then
  768. compress the single file (`tar' archive or source file) using `gzip'
  769. and encode it via `uuencode'.  Do not use any MIME stuff--the current
  770. maintainer can't decode this.  Using `compress' instead of `gzip' is
  771. acceptable, assuming you have licensed the use of the patented
  772. algorithm in `compress' from Unisys.)
  773.  
  774.    To enable someone to investigate the bug, you should include all
  775. these things:
  776.  
  777.    * The version of GNU Fortran.  You can get this by running `g77'
  778.      with the `-v' option.  (Ignore any error messages that might be
  779.      displayed when the linker is run.)
  780.  
  781.      Without this, we won't know whether there is any point in looking
  782.      for the bug in the current version of GNU Fortran.
  783.  
  784.    * A complete input file that will reproduce the bug.
  785.  
  786.      If your source file(s) require preprocessing (for example, their
  787.      names have suffixes like `.F', `.fpp', `.FPP', and `.r'), and the
  788.      bug is in the compiler proper (`f771') or in a subsequent phase of
  789.      processing, run your source file through the C preprocessor by
  790.      doing `g77 -E SOURCEFILE > NEWFILE'.  Then, include the contents
  791.      of NEWFILE in the bug report.  (When you do this, use the same
  792.      preprocessor options--such as `-I', `-D', and `-U'--that you used
  793.      in actual compilation.)
  794.  
  795.      A single statement is not enough of an example.  In order to
  796.      compile it, it must be embedded in a complete file of compiler
  797.      input.  The bug might depend on the details of how this is done.
  798.  
  799.      Without a real example one can compile, all anyone can do about
  800.      your bug report is wish you luck.  It would be futile to try to
  801.      guess how to provoke the bug.  For example, bugs in register
  802.      allocation and reloading can depend on every little detail of the
  803.      source and include files that trigger them.
  804.  
  805.    * Note that you should include with your bug report any files
  806.      included by the source file (via the `#include' or `INCLUDE'
  807.      directive) that you send, and any files they include, and so on.
  808.  
  809.      It is not necessary to replace the `#include' and `INCLUDE'
  810.      directives with the actual files in the version of the source file
  811.      that you send, but it might make submitting the bug report easier
  812.      in the end.  However, be sure to *reproduce* the bug using the
  813.      *exact* version of the source material you submit, to avoid
  814.      wild-goose chases.
  815.  
  816.    * The command arguments you gave GNU Fortran to compile that example
  817.      and observe the bug.  For example, did you use `-O'?  To guarantee
  818.      you won't omit something important, list all the options.
  819.  
  820.      If we were to try to guess the arguments, we would probably guess
  821.      wrong and then we would not encounter the bug.
  822.  
  823.    * The type of machine you are using, and the operating system name
  824.      and version number.  (Much of this information is printed by `g77
  825.      -v'--if you include that, send along any additional info you have
  826.      that you don't see clearly represented in that output.)
  827.  
  828.    * The operands you gave to the `configure' command when you installed
  829.      the compiler.
  830.  
  831.    * A complete list of any modifications you have made to the compiler
  832.      source.  (We don't promise to investigate the bug unless it
  833.      happens in an unmodified compiler.  But if you've made
  834.      modifications and don't tell us, then you are sending us on a
  835.      wild-goose chase.)
  836.  
  837.      Be precise about these changes.  A description in English is not
  838.      enough--send a context diff for them.
  839.  
  840.      Adding files of your own (such as a machine description for a
  841.      machine we don't support) is a modification of the compiler source.
  842.  
  843.    * Details of any other deviations from the standard procedure for
  844.      installing GNU Fortran.
  845.  
  846.    * A description of what behavior you observe that you believe is
  847.      incorrect.  For example, "The compiler gets a fatal signal," or,
  848.      "The assembler instruction at line 208 in the output is incorrect."
  849.  
  850.      Of course, if the bug is that the compiler gets a fatal signal,
  851.      then one can't miss it.  But if the bug is incorrect output, the
  852.      maintainer might not notice unless it is glaringly wrong.  None of
  853.      us has time to study all the assembler code from a 50-line Fortran
  854.      program just on the chance that one instruction might be wrong.
  855.      We need *you* to do this part!
  856.  
  857.      Even if the problem you experience is a fatal signal, you should
  858.      still say so explicitly.  Suppose something strange is going on,
  859.      such as, your copy of the compiler is out of synch, or you have
  860.      encountered a bug in the C library on your system.  (This has
  861.      happened!)  Your copy might crash and the copy here would not.  If
  862.      you said to expect a crash, then when the compiler here fails to
  863.      crash, we would know that the bug was not happening.  If you don't
  864.      say to expect a crash, then we would not know whether the bug was
  865.      happening.  We would not be able to draw any conclusion from our
  866.      observations.
  867.  
  868.      If the problem is a diagnostic when building GNU Fortran with some
  869.      other compiler, say whether it is a warning or an error.
  870.  
  871.      Often the observed symptom is incorrect output when your program
  872.      is run.  Sad to say, this is not enough information unless the
  873.      program is short and simple.  None of us has time to study a large
  874.      program to figure out how it would work if compiled correctly,
  875.      much less which line of it was compiled wrong.  So you will have
  876.      to do that.  Tell us which source line it is, and what incorrect
  877.      result happens when that line is executed.  A person who
  878.      understands the program can find this as easily as finding a bug
  879.      in the program itself.
  880.  
  881.    * If you send examples of assembler code output from GNU Fortran,
  882.      please use `-g' when you make them.  The debugging information
  883.      includes source line numbers which are essential for correlating
  884.      the output with the input.
  885.  
  886.    * If you wish to mention something in the GNU Fortran source, refer
  887.      to it by context, not by line number.
  888.  
  889.      The line numbers in the development sources don't match those in
  890.      your sources.  Your line numbers would convey no convenient
  891.      information to the maintainers.
  892.  
  893.    * Additional information from a debugger might enable someone to
  894.      find a problem on a machine which he does not have available.
  895.      However, you need to think when you collect this information if
  896.      you want it to have any chance of being useful.
  897.  
  898.      For example, many people send just a backtrace, but that is never
  899.      useful by itself.  A simple backtrace with arguments conveys little
  900.      about GNU Fortran because the compiler is largely data-driven; the
  901.      same functions are called over and over for different RTL insns,
  902.      doing different things depending on the details of the insn.
  903.  
  904.      Most of the arguments listed in the backtrace are useless because
  905.      they are pointers to RTL list structure.  The numeric values of the
  906.      pointers, which the debugger prints in the backtrace, have no
  907.      significance whatever; all that matters is the contents of the
  908.      objects they point to (and most of the contents are other such
  909.      pointers).
  910.  
  911.      In addition, most compiler passes consist of one or more loops that
  912.      scan the RTL insn sequence.  The most vital piece of information
  913.      about such a loop--which insn it has reached--is usually in a
  914.      local variable, not in an argument.
  915.  
  916.      What you need to provide in addition to a backtrace are the values
  917.      of the local variables for several stack frames up.  When a local
  918.      variable or an argument is an RTX, first print its value and then
  919.      use the GDB command `pr' to print the RTL expression that it points
  920.      to.  (If GDB doesn't run on your machine, use your debugger to call
  921.      the function `debug_rtx' with the RTX as an argument.)  In
  922.      general, whenever a variable is a pointer, its value is no use
  923.      without the data it points to.
  924.  
  925.    Here are some things that are not necessary:
  926.  
  927.    * A description of the envelope of the bug.
  928.  
  929.      Often people who encounter a bug spend a lot of time investigating
  930.      which changes to the input file will make the bug go away and which
  931.      changes will not affect it.
  932.  
  933.      This is often time consuming and not very useful, because the way
  934.      we will find the bug is by running a single example under the
  935.      debugger with breakpoints, not by pure deduction from a series of
  936.      examples.  You might as well save your time for something else.
  937.  
  938.      Of course, if you can find a simpler example to report *instead* of
  939.      the original one, that is a convenience.  Errors in the output
  940.      will be easier to spot, running under the debugger will take less
  941.      time, etc.  Most GNU Fortran bugs involve just one function, so
  942.      the most straightforward way to simplify an example is to delete
  943.      all the function definitions except the one where the bug occurs.
  944.      Those earlier in the file may be replaced by external declarations
  945.      if the crucial function depends on them.  (Exception: inline
  946.      functions might affect compilation of functions defined later in
  947.      the file.)
  948.  
  949.      However, simplification is not vital; if you don't want to do this,
  950.      report the bug anyway and send the entire test case you used.
  951.  
  952.    * In particular, some people insert conditionals `#ifdef BUG' around
  953.      a statement which, if removed, makes the bug not happen.  These
  954.      are just clutter; we won't pay any attention to them anyway.
  955.      Besides, you should send us preprocessor output, and that can't
  956.      have conditionals.
  957.  
  958.    * A patch for the bug.
  959.  
  960.      A patch for the bug is useful if it is a good one.  But don't omit
  961.      the necessary information, such as the test case, on the
  962.      assumption that a patch is all we need.  We might see problems
  963.      with your patch and decide to fix the problem another way, or we
  964.      might not understand it at all.
  965.  
  966.      Sometimes with a program as complicated as GNU Fortran it is very
  967.      hard to construct an example that will make the program follow a
  968.      certain path through the code.  If you don't send the example, we
  969.      won't be able to construct one, so we won't be able to verify that
  970.      the bug is fixed.
  971.  
  972.      And if we can't understand what bug you are trying to fix, or why
  973.      your patch should be an improvement, we won't install it.  A test
  974.      case will help us to understand.
  975.  
  976.      *Note Sending Patches::, for guidelines on how to make it easy for
  977.      us to understand and install your patches.
  978.  
  979.    * A guess about what the bug is or what it depends on.
  980.  
  981.      Such guesses are usually wrong.  Even the maintainer can't guess
  982.      right about such things without first using the debugger to find
  983.      the facts.
  984.  
  985.    * A core dump file.
  986.  
  987.      We have no way of examining a core dump for your type of machine
  988.      unless we have an identical system--and if we do have one, we
  989.      should be able to reproduce the crash ourselves.
  990.  
  991. 
  992. File: g77.info,  Node: Sending Patches,  Prev: Bug Reporting,  Up: Bugs
  993.  
  994. Sending Patches for GNU Fortran
  995. ===============================
  996.  
  997.    If you would like to write bug fixes or improvements for the GNU
  998. Fortran compiler, that is very helpful.  Send suggested fixes to the
  999. bug report mailing list, <gcc-bugs@gcc.gnu.org or bug-gcc@gnu.org>.
  1000.  
  1001.    Please follow these guidelines so we can study your patches
  1002. efficiently.  If you don't follow these guidelines, your information
  1003. might still be useful, but using it will take extra work.  Maintaining
  1004. GNU Fortran is a lot of work in the best of circumstances, and we can't
  1005. keep up unless you do your best to help.
  1006.  
  1007.    * Send an explanation with your changes of what problem they fix or
  1008.      what improvement they bring about.  For a bug fix, just include a
  1009.      copy of the bug report, and explain why the change fixes the bug.
  1010.  
  1011.      (Referring to a bug report is not as good as including it, because
  1012.      then we will have to look it up, and we have probably already
  1013.      deleted it if we've already fixed the bug.)
  1014.  
  1015.    * Always include a proper bug report for the problem you think you
  1016.      have fixed.  We need to convince ourselves that the change is
  1017.      right before installing it.  Even if it is right, we might have
  1018.      trouble judging it if we don't have a way to reproduce the problem.
  1019.  
  1020.    * Include all the comments that are appropriate to help people
  1021.      reading the source in the future understand why this change was
  1022.      needed.
  1023.  
  1024.    * Don't mix together changes made for different reasons.  Send them
  1025.      *individually*.
  1026.  
  1027.      If you make two changes for separate reasons, then we might not
  1028.      want to install them both.  We might want to install just one.  If
  1029.      you send them all jumbled together in a single set of diffs, we
  1030.      have to do extra work to disentangle them--to figure out which
  1031.      parts of the change serve which purpose.  If we don't have time
  1032.      for this, we might have to ignore your changes entirely.
  1033.  
  1034.      If you send each change as soon as you have written it, with its
  1035.      own explanation, then the two changes never get tangled up, and we
  1036.      can consider each one properly without any extra work to
  1037.      disentangle them.
  1038.  
  1039.      Ideally, each change you send should be impossible to subdivide
  1040.      into parts that we might want to consider separately, because each
  1041.      of its parts gets its motivation from the other parts.
  1042.  
  1043.    * Send each change as soon as that change is finished.  Sometimes
  1044.      people think they are helping us by accumulating many changes to
  1045.      send them all together.  As explained above, this is absolutely
  1046.      the worst thing you could do.
  1047.  
  1048.      Since you should send each change separately, you might as well
  1049.      send it right away.  That gives us the option of installing it
  1050.      immediately if it is important.
  1051.  
  1052.    * Use `diff -c' to make your diffs.  Diffs without context are hard
  1053.      for us to install reliably.  More than that, they make it hard for
  1054.      us to study the diffs to decide whether we want to install them.
  1055.      Unidiff format is better than contextless diffs, but not as easy
  1056.      to read as `-c' format.
  1057.  
  1058.      If you have GNU `diff', use `diff -cp', which shows the name of the
  1059.      function that each change occurs in.  (The maintainer of GNU
  1060.      Fortran currently uses `diff -rcp2N'.)
  1061.  
  1062.    * Write the change log entries for your changes.  We get lots of
  1063.      changes, and we don't have time to do all the change log writing
  1064.      ourselves.
  1065.  
  1066.      Read the `ChangeLog' file to see what sorts of information to put
  1067.      in, and to learn the style that we use.  The purpose of the change
  1068.      log is to show people where to find what was changed.  So you need
  1069.      to be specific about what functions you changed; in large
  1070.      functions, it's often helpful to indicate where within the
  1071.      function the change was.
  1072.  
  1073.      On the other hand, once you have shown people where to find the
  1074.      change, you need not explain its purpose.  Thus, if you add a new
  1075.      function, all you need to say about it is that it is new.  If you
  1076.      feel that the purpose needs explaining, it probably does--but the
  1077.      explanation will be much more useful if you put it in comments in
  1078.      the code.
  1079.  
  1080.      If you would like your name to appear in the header line for who
  1081.      made the change, send us the header line.
  1082.  
  1083.    * When you write the fix, keep in mind that we can't install a
  1084.      change that would break other systems.
  1085.  
  1086.      People often suggest fixing a problem by changing
  1087.      machine-independent files such as `toplev.c' to do something
  1088.      special that a particular system needs.  Sometimes it is totally
  1089.      obvious that such changes would break GNU Fortran for almost all
  1090.      users.  We can't possibly make a change like that.  At best it
  1091.      might tell us how to write another patch that would solve the
  1092.      problem acceptably.
  1093.  
  1094.      Sometimes people send fixes that *might* be an improvement in
  1095.      general--but it is hard to be sure of this.  It's hard to install
  1096.      such changes because we have to study them very carefully.  Of
  1097.      course, a good explanation of the reasoning by which you concluded
  1098.      the change was correct can help convince us.
  1099.  
  1100.      The safest changes are changes to the configuration files for a
  1101.      particular machine.  These are safe because they can't create new
  1102.      bugs on other machines.
  1103.  
  1104.      Please help us keep up with the workload by designing the patch in
  1105.      a form that is good to install.
  1106.  
  1107. 
  1108. File: g77.info,  Node: Service,  Next: Adding Options,  Prev: Bugs,  Up: Top
  1109.  
  1110. How To Get Help with GNU Fortran
  1111. ********************************
  1112.  
  1113.    If you need help installing, using or changing GNU Fortran, there
  1114. are two ways to find it:
  1115.  
  1116.    * Look in the service directory for someone who might help you for a
  1117.      fee.  The service directory is found in the file named `SERVICE'
  1118.      in the GNU CC distribution.
  1119.  
  1120.    * Send a message to <gcc@gcc.gnu.org>.
  1121.  
  1122.